<%--
  Created by IntelliJ IDEA.
  User: ChenTianYu
  Date: 2023/12/22
  Time: 11:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<style>
    *{
        margin: 0;
        padding: 0;
    }
</style>
<body>
    <form action="login" method="post" onsubmit="return func()">
        <input type="text" placeholder="用户名" name="username"/><br />
        <input type="password" placeholder="密码" name="userPassword" /><br />
        <input type="submit" value="登录"/>
    </form>
</body>

<script type="text/javascript">
    function func(){
        return true
    }
</script>
</html>
